package com.xncoding.testng.data;

import com.alibaba.fastjson.JSON;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.testng.annotations.DataProvider;

import java.util.HashMap;
import java.util.Map;

public class DataCan {
    @DataProvider(name="HHYH2003")
    public static Object[][] HHYH2003(){
        Map payloadMap = new HashMap();
        payloadMap.put("profession", "20000");

        Object[][] param = new Object[][]{
                new Object[] {JSON.toJSONString(payloadMap)}
        };

        return param;
    }

}
